//
// Created by ZhangBo on 2019-06-18.
// Copyright (c) 2019 ZhangBo. All rights reserved.
//

import Foundation

class NameSpace1 {

}

extension NameSpace1 {
    enum MyError: Error {
        case errorA
        case errorB
        var errorTpye: String {
            switch self {
            case .errorA:
                return "this is errorA"
            case .errorB:
                return "this is errorB"
            }
        }
    }
}


